import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);

export default new Router({
  mode: "history",
  routes: [
    {
      path: "/",
      redirect: {name:'login'},
    },
    {
      path: "/login/lo",
      name: "login",
      component: () => import(/* webpackChunkName: "login2" */"@/views/login.vue"),
    },
    {
      path: "/password",
      name: "password",
      component: () => import(/* webpackChunkName: "password" */"@/views/password.vue"),
    },
    {
      path: "/about",
      component: () => import(/* webpackChunkName: "about" */"@/views/about.vue"),
    },
  ],
});
